<template>
  <view class="fu-list">
    <slot></slot>
  </view>
</template>

<script>
/**
 * fu-list 列表组件
 * @description 用于展示列表信息
 * @property {Boolean} border - 是否显示边框
 */
export default {
  name: 'fu-list',
  props: {
    border: {
      type: Boolean,
      default: true
    }
  },
  provide() {
    return {
      list: this
    }
  }
}
</script>

<style lang="scss" scoped>
.fu-list {
  background-color: #fff;
  border-radius: var(--fu-radius-base);
}
</style> 